WSAL\WP_Sensors\WP_Plugins_Themes_Sensor D

Total Complexity 199
Dependencies 4
Dependents 4
Total lines 1,301
Lines of code 736
Logical lines of code 293
Comment lines 404
Methods 30
Properties 5

Methods 30

Method Rating Maintainability Complexity Lines of code
plugin_created_post()
D
31 32 105
single_plugin_install()
B
38 16 62
bulk_plugin_update()
B
40 16 55
single_plugin_update()
A
41 13 51
on_plugin_or_theme_update()
A
46 13 39
theme_upgrade()
A
47 10 36
on_upgrader_process_complete()
A
54 11 20
on_package_overwrite()
A
44 9 44
on_active_plugins_update()
A
55 9 20
on_upgrader_post_install()
A
49 8 33
theme_install()
S
50 6 30
get_theme_by_name()
S
58 6 16
get_plugin_file_name()
S
58 6 15
init()
S
55 5 17
event_theme_activated()
S
50 4 32
get_event_type_for_post_type()
S
61 5 13
on_action_deleted_plugin()
S
54 3 23
on_deleted_theme()
S
54 3 22
on_deactivated_plugin()
S
54 3 21
on_activated_plugin()
S
54 3 21
extract_plugin_filename()
S
66 3 8
maybe_add_thickbox_class()
S
67 2 8
get_plugin_dir()
S
68 2 7
get_editor_link()
S
63 2 10
get_old_themes()
S
71 2 6
get_old_plugins()
S
71 2 6
get_all_plugins()
S
71 2 6
get_plugin_wp_repo_url()
S
78 1 3
on_action_delete_plugin()
S
76 1 3
event_init()
S
77 1 4